package com.qianli.cashmama.trade.domain.model;


import com.qianli.cashmama.pay.client.enums.PaymentChannelEnum;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/7/25
 * Time: 下午9:13
 * description 账单详情实体:标识每笔还款的信息（支付信息）,并不是账单详情,不要被名字迷惑
 */
public class TradeBillDetail implements Serializable {
    /**
     * 还款业务单号
     */
    private String bizNo;

    /**
     * 账单号
     */
    private String billNo;
    /**
     * 订单号
     */
    private String tradeNo;

    /**
     * 金额
     */
    private BigDecimal paidCapital;
    /**
     * 单笔还款减免金额
     */
    private BigDecimal discountCapital;
    /**
     * 还款渠道
     */
    private PaymentChannelEnum paidChannel;

    /**
     * 渠道手续费
     */
    private BigDecimal channelServiceFee;
    /**
     * 银行卡号
     */
    private String bankNo;
    /**
     * 支付业务单号
     */
    private String payBizNo;
    /**
     * 产品code
     */
    private String productCode;
    /**
     * 产品类目
     */
    private String productCategory;

    private String operator;

    private Date accountedTime;


    public Date getAccountedTime() {
        return accountedTime;
    }

    public TradeBillDetail setAccountedTime(Date accountedTime) {
        this.accountedTime = accountedTime;
        return this;
    }

    public String getBizNo() {
        return bizNo;
    }

    public TradeBillDetail setBizNo(String bizNo) {
        this.bizNo = bizNo;
        return this;
    }

    public String getOperator() {
        return operator;
    }

    public TradeBillDetail setOperator(String operator) {
        this.operator = operator;
        return this;
    }

    public String getProductCode() {
        return productCode;
    }

    public TradeBillDetail setProductCode(String productCode) {
        this.productCode = productCode;
        return this;
    }

    public String getProductCategory() {
        return productCategory;
    }

    public TradeBillDetail setProductCategory(String productCategory) {
        this.productCategory = productCategory;
        return this;
    }

    public String getBillNo() {
        return billNo;
    }

    public TradeBillDetail setBillNo(String billNo) {
        this.billNo = billNo;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public TradeBillDetail setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public BigDecimal getPaidCapital() {
        return paidCapital;
    }

    public TradeBillDetail setPaidCapital(BigDecimal paidCapital) {
        this.paidCapital = paidCapital;
        return this;
    }

    public BigDecimal getDiscountCapital() {
        return discountCapital;
    }

    public TradeBillDetail setDiscountCapital(BigDecimal discountCapital) {
        this.discountCapital = discountCapital;
        return this;
    }

    public PaymentChannelEnum getPaidChannel() {
        return paidChannel;
    }

    public TradeBillDetail setPaidChannel(PaymentChannelEnum paidChannel) {
        this.paidChannel = paidChannel;
        return this;
    }

    public String getBankNo() {
        return bankNo;
    }

    public TradeBillDetail setBankNo(String bankNo) {
        this.bankNo = bankNo;
        return this;
    }

    public String getPayBizNo() {
        return payBizNo;
    }

    public TradeBillDetail setPayBizNo(String payBizNo) {
        this.payBizNo = payBizNo;
        return this;
    }

    public BigDecimal getChannelServiceFee() {
        return channelServiceFee;
    }

    public TradeBillDetail setChannelServiceFee(BigDecimal channelServiceFee) {
        this.channelServiceFee = channelServiceFee;
        return this;
    }
}
